Release 10.1A: OpenEdge Development:
Progress 4GL Handbook


Using super procedures in your application

Super procedures were introduced to the Progress language in Version 9 as a way to provide standard libraries of application behavior that can be inherited by other procedures and, where necessary, overridden or specialized by individual application components. They give an object-oriented flavor to Progress programming that was not available before.

A super procedure is a separately compiled Progress procedure file. It’s entry points can effectively be added to those of another procedure so that a RUN statement or function reference in the other procedure causes the Progress interpreter to search both procedures for an internal procedure or function to run. There is also a RUN SUPER statement that lets you implement multiple versions of a single entry point, each in its own procedure file, and have them all execute at run time to provide the application with complex behavior defined at a number of different levels.

In this section, you learn how to build super procedures and how to define application behavior in them that many other procedures can use in a consistent way.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095